// 查询列表接口
const getListByPage = (params) => {
    return $axios({
        url: '/college/select',
        method: 'get',
        params
    })
}


// 删除当前列的接口
const deleteInfo = (id) => {
    return $axios({
        url: '/college/delete',
        method: 'post',
        params: { id }
    })
}

// 修改接口
const editInfo = (params) => {
    return $axios({
        url: '/college/update',
        method: 'post',
        data: { ...params }
    })
}

// 新增接口
const addInfo = (params) => {
    return $axios({
        url: '/college/add',
        method: 'post',
        data: { ...params }
    })
}